package com.ruoyi.plan.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @author MLYNDHG
 * @version 1.0
 * @description 复习计划 对象 review_plan
 * @date 2023/12/7 16:40
 */
public class ReviewPlan extends BaseEntity
{
 private static final long serialVersionUID = 1L;

 /** 主键，自增 */
 private Long id;

 /** 用户ID */
 @Excel(name = "用户ID")
 private Long uid;

 /** 学习内容表的外键 */
 @Excel(name = "学习内容表的外键")
 private Long studyContentId;

 /** 计划的创建日期 */
 @Excel(name = "计划的创建日期")
 private String createDate;

 /** 计划的复习日期 */
 @Excel(name = "计划的复习日期")
 private String reviewDate;

 /** 复习的状态，（未复习为0、已复习为1） */
 @Excel(name = "复习的状态，", readConverterExp = "未=复习为0、已复习为1")
 private String reviewStatus;

 /** 复习周期，表示这是第几轮复习，初始为0 */
 @Excel(name = "复习周期，表示这是第几轮复习，初始为0")
 private Long reviewCycle;

 /** 复习笔记 */
 @Excel(name = "复习笔记")
 private String reviewNote;

 /** 备注 */
 @Excel(name = "备注")
 private String describes;

 /** 学习内容表的事件标题 */
 @Excel(name = "学习内容表的事件标题")
 private String studyContentTitle;

 public void setId(Long id)
 {
  this.id = id;
 }

 public Long getId()
 {
  return id;
 }
 public void setUid(Long uid)
 {
  this.uid = uid;
 }

 public Long getUid()
 {
  return uid;
 }
 public void setStudyContentId(Long studyContentId)
 {
  this.studyContentId = studyContentId;
 }

 public Long getStudyContentId()
 {
  return studyContentId;
 }
 public void setCreateDate(String createDate)
 {
  this.createDate = createDate;
 }

 public String getCreateDate()
 {
  return createDate;
 }
 public void setReviewDate(String reviewDate)
 {
  this.reviewDate = reviewDate;
 }

 public String getReviewDate()
 {
  return reviewDate;
 }
 public void setReviewStatus(String reviewStatus)
 {
  this.reviewStatus = reviewStatus;
 }

 public String getReviewStatus()
 {
  return reviewStatus;
 }
 public void setReviewCycle(Long reviewCycle)
 {
  this.reviewCycle = reviewCycle;
 }

 public Long getReviewCycle()
 {
  return reviewCycle;
 }
 public void setReviewNote(String reviewNote)
 {
  this.reviewNote = reviewNote;
 }

 public String getReviewNote()
 {
  return reviewNote;
 }
 public void setDescribes(String describes)
 {
  this.describes = describes;
 }

 public String getDescribes()
 {
  return describes;
 }
 public void setStudyContentTitle(String studyContentTitle)
 {
  this.studyContentTitle = studyContentTitle;
 }

 public String getStudyContentTitle()
 {
  return studyContentTitle;
 }

 @Override
 public String toString() {
  return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
          .append("id", getId())
          .append("uid", getUid())
          .append("studyContentId", getStudyContentId())
          .append("createDate", getCreateDate())
          .append("reviewDate", getReviewDate())
          .append("reviewStatus", getReviewStatus())
          .append("reviewCycle", getReviewCycle())
          .append("reviewNote", getReviewNote())
          .append("describes", getDescribes())
          .append("studyContentTitle", getStudyContentTitle())
          .toString();
 }
}